package cn.cs.fallback;

import cn.cs.client.SetPolicyClient;
import cn.cs.client.SysDtAreaClient;
import cn.cs.pojo.SetPolicy;
import cn.cs.pojo.SysDtArea;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;


/**
 * 类似于try catch中的catch块中的内容，即发生错误时，处理的过程
 * 是用来发生熔断时的顶包组件,因此也必须实现接口
 * 异常时做一些处理，给用户一个交代
 * */
@Component
public class SysDtAreaFallBack implements SysDtAreaClient {


    @Override
    public List<SysDtArea> getSysDtAreasByParId(String id) throws Exception {
        return null;
    }

    @Override
    public List<SysDtArea> getSysDtAreaListByMap(Map<String, Object> param) throws Exception {
        return null;
    }

    @Override
    public Map<String, Object> getAreaLastById(String id) throws Exception {
        return null;
    }

    @Override
    public Map<String, Object> getSysDtAreaById(String id) throws Exception {
        return null;
    }

    @Override
    public List<Map<String, Object>> getAgentManageProAreas(Map<String, Object> param) {
        return null;
    }

    @Override
    public List<Map<String, Object>> getProvinceList() throws Exception {
        return null;
    }

    @Override
    public List<Map<String, Object>> getCityListByPid(String pId) throws Exception {
        return null;
    }

    @Override
    public List<Map<String, Object>> getAreaListByPid(String pId, List<Map<String, Object>> list) throws Exception {
        return null;
    }

    @Override
    public List<Map<String, Object>> getAreasListByPid(String pId) throws Exception {
        return null;
    }

    @Override
    public Map<String, Object> getCityNameByAreaId(String areaId) throws Exception {
        return null;
    }

    @Override
    public List<Map<String, Object>> getAreaProvince(List<Map<String, Object>> list) throws Exception {
        return null;
    }

    @Override
    public List<Map<String, Object>> getAreaCity(List<Map<String, Object>> list, String pId) throws Exception {
        return null;
    }

    @Override
    public List<Map<String, Object>> getAreaArea(List<Map<String, Object>> list, String pId) throws Exception {
        return null;
    }

    @Override
    public List<Map<String, Object>> getAreaListByProvinceId(String areaId) throws Exception {
        return null;
    }

    @Override
    public List<Map<String, Object>> getAreaListByCityId(String areaId) throws Exception {
        return null;
    }

    @Override
    public List<Map<String, Object>> getAreaListById(String areaId) throws Exception {
        return null;
    }
}
